package com.superjson.showpro.service;

import com.superjson.showpro.base.GenericService;
import com.superjson.showpro.entity.Attach;
import com.superjson.showpro.shared.enums.FileTypeEnum;
import com.superjson.showpro.shared.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * Created By zby on 23:08 2019/5/21
 */
public interface AttachService extends GenericService<Attach> {

    Result<Attach> saveAttach(MultipartFile file, String originalFilename, Date date, String name, String relativePath, String description, FileTypeEnum fileType);
}
